package com.base.struct;

public class switchDemo {
    public static void main(String[] args) {
        String name = "wwj";
        switch (name){
            case "wwj":
                System.out.println("wwj");
                break;
            case "kk":
                System.out.println("kk");
                break;
            default:
                System.out.println("无法识别");
        }
    }
}
